package com.wrupple.vegetate.server.bussiness.events;

import org.springframework.context.ApplicationEvent;

import com.wrupple.vegetate.server.domain.CatalogCreatePacket;

public class CatalogEntryCreateEvent extends ApplicationEvent {
	private static final long serialVersionUID = -7502970779083367537L;
	private CatalogCreatePacket data;

	public CatalogEntryCreateEvent(Object source,CatalogCreatePacket data) {
		super(source);
		this.setData(data);
	}

	private void setData(CatalogCreatePacket data) {
		this.data = data;
	}

	public CatalogCreatePacket getData() {
		return data;
	}

}
